/**
 * GlobalSettings.java
 */
package model;

/**
 * @author Michal Kolodziejski
 */
public class GlobalSettings {
	private int maxActiveDownloadsNumber;
	private int maxConnectionsPerDownload;
	
	/**
	 * Constructor
	 */
	public GlobalSettings(){
		maxActiveDownloadsNumber = 0;
		maxConnectionsPerDownload = 0;
	}

	/**
	 * @return the maxActiveDownloadsNumber
	 */
	public int getMaxActiveDownloadsNumber() {
		return maxActiveDownloadsNumber;
	}

	/**
	 * @return the maxConnectionsPerDownload
	 */
	public int getMaxConnectionsPerDownload() {
		return maxConnectionsPerDownload;
	}

	/**
	 * @param maxActiveDownloadsNumber the maxActiveDownloadsNumber to set
	 */
	public void setMaxActiveDownloadsNumber(int maxActiveDownloadsNumber) {
		this.maxActiveDownloadsNumber = maxActiveDownloadsNumber;
	}

	/**
	 * @param maxConnectionsPerDownload the maxConnectionsPerDownload to set
	 */
	public void setMaxConnectionsPerDownload(int maxConnectionsPerDownload) {
		this.maxConnectionsPerDownload = maxConnectionsPerDownload;
	}
	
	
}
